﻿using System;
using System.Collections.Generic;
using System.Text;

using ECCIT.Business.Model;

namespace OgilvyOne.UKNow.Model
{
    [Serializable]
    public class EventsCommentModel : BaseModel
    {
        public int? LanguageID { get; set; }            // 语言类型
        public int? ID { get; set; }                    // 评论ID
        public int? EventsID { get; set; }              // 活动ID
        public EventsModel Events { get; set; }         // 活动ID对应的活动
        public int? MemberID { get; set; }              // 发布评论会员ID
        public MemberModel Member { get; set; }         // 发布评论会员
        public string Content { get; set; }             // 评论内容
        public DateTime Time { get; set; }              // 发布评论时间
        public string ImagePath { get; set; }           // 图片路径
        public string ImageUrl { get; set; }            // 图片URL
        public string ImageName { get; set; }           // 图片名称
        public string ImageDesc { get; set; }
        public string ImageTag { get; set; }            // 图片标签
        public string VideoPath { get; set; }           // 视频路径
        public string VideoUrl { get; set; }            // 视频URL
        public string VideoName { get; set; }           // 视频名称
        public string VideoDesc { get; set; }
        public string VideoTag { get; set; }            // 视频标签

        public int? SourceMemberID { get; set; }         //原评论人id
        public MemberModel SourceMember { get; set; }  // 原评论人

        public EventsCommentModel() { }

        public EventsCommentModel(int? langID
            , int? id
            , int? eventsID
            , int? memberID
            , string content
            , DateTime time
            , string imagePath, string imageUrl, string imageName, string imageDesc, string imageTag
            , string videoPath, string videoUrl, string videoName, string videoDesc, string videoTag,int?sourceMemberID )
        {
            this.LanguageID = langID;
            this.ID = id;
            this.EventsID = eventsID;
            this.MemberID = memberID;
            this.Content = content;
            this.Time = time;
            this.ImagePath = imagePath;
            this.ImageUrl = imageUrl;
            this.ImageName = imageName;
            this.ImageDesc = imageDesc;
            this.ImageTag = imageTag;
            this.VideoPath = videoPath;
            this.VideoUrl = videoUrl;
            this.VideoName = videoName;
            this.VideoDesc = videoDesc;
            this.VideoTag = videoTag;
            this.SourceMemberID = sourceMemberID;
        }
    }
}
